package com.ylb.rent.service;

import java.util.List;
import  com.ylb.rent.entity.RoomStuff;
import com.ylb.rent.entity.Stuff;

/**
 * 房间设施Service接口
 * 
 * @author ylb
 * @date 2023-06-29
 */
public interface IRoomStuffService 
{
    public List<Stuff> selectStuffListByRoomId(long roomId);
    /**
     * 查询房间设施
     * 
     * @param id 房间设施主键
     * @return 房间设施
     */
    public RoomStuff selectRoomStuffById(Long id);

    /**
     * 查询房间设施列表
     * 
     * @param roomStuff 房间设施
     * @return 房间设施集合
     */
    public List<RoomStuff> selectRoomStuffList(RoomStuff roomStuff);

    /**
     * 新增房间设施
     * 
     * @param roomStuff 房间设施
     * @return 结果
     */
    public int insertRoomStuff(RoomStuff roomStuff);

    /**
     * 修改房间设施
     * 
     * @param roomStuff 房间设施
     * @return 结果
     */
    public int updateRoomStuff(RoomStuff roomStuff);

    /**
     * 批量删除房间设施
     * 
     * @param ids 需要删除的房间设施主键集合
     * @return 结果
     */
    public int deleteRoomStuffByIds(Long[] ids);

    /**
     * 删除房间设施信息
     * 
     * @param id 房间设施主键
     * @return 结果
     */
    public int deleteRoomStuffById(Long id);
}
